<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>火才契商家工具</title>
    <link rel="stylesheet" href="./layui/css/layui.css"  media="all">
    <style>
        /* width: 1064,
    height: 480, */
        body::-webkit-scrollbar {display:none}
        #vueapp{
            width: 100%;
        }
        form{
            width: 100%;
        }
        .text-area{
            margin: 10px auto;
            width: 50%;
            height: 100%;
        }
        ul{
            margin: 10px auto;
            width: 80%;
            font-size: 18px;
            font-weight: 500;
            color: #212121;
        }
    </style>
</head>
<body >
    <div id="vueapp" style="overflow: hidden;">
        <form class="layui-form" action="" @submit="submit" ref="input">
            <div class="text-area">
                <input type="text" name="input" lay-verify="title" autocomplete="off" placeholder="请输入拼多多商品ID" class="layui-input" style="display: inline-block;width: 73%;">
                <button type="submit" class="layui-btn layui-btn-primary">采集</button>
            </div>
        </form>
        <ul v-if="title">
            <li>标题：{{title}}</li>
            <li>价格：{{price}}</li>
            <li>数据包存储地址：{{parse}}</li>
            <li>主图：<img :src="main_img_parse" alt="" srcset="" width="30%" height="auto"></li>
        </ul>
    </div>
    <script src="./layui/layui.js" charset="utf-8"></script>
    <script src="./preload.js"></script>
</body>
</html>